import myComponent from "./myComponent";

const { ccclass, property } = cc._decorator;


@ccclass
export default class NewClass extends cc.Component {

   
    labelNode = new cc.Label();

    sp = new cc.Sprite();

    myCom = new myComponent();

    onLoad() {
        console.warn("label", this.labelNode.string);
        console.log("sp", this.sp);
        
        console.log("myCom", this.myCom.index);
        
    }

}